body {
    background-color: #f7f7f7;
}
section {
    padding-top: 100px;
    width: 1140px;
    margin: 0 auto;
    .choose {
        font-size: 14px;
        .title {
            font-weight: 300;
            background: none;
        }
        a {
            display: inline-block;
        }
        span {
            display: inline-block;
            font-weight: bold;
            background-color: #eeeeee;
            padding: 10px;
            width: 60px;
        }
        i {
            display: inline-block;
            width: 20px;
            height: 10px;
        }
        div {
            border: 1px solid #ddd;
            border-top: none;
            &:first-of-type {
                border-top: 1px solid #dddddd;
            }
            a {
                margin: 4px 20px;
                padding: 0px 2px;
                &.active {
                    color: white;
                    border-radius: 4px;
                    background-color: red;
                }
            }
        }
    }
    .gool {
        margin-top: 30px;
        position: relative;
        box-sizing: border-box;
        .sorting {
            background-color: #eee;
            .le {
                span {
                    display: inline-block;
                    font-size: 14px;
                    padding: 10px 30px;
                    text-align: center;
                    // line-height: 10px;
                    &.active {
                        background-color: white;
                        border-top: 3px solid red;
                    }
                }
            }

            p {
                position: absolute;
                left: 95%;
                top: 15px;
            }
        }
        .gools {
            margin-top: 30px;
            overflow: hidden;
            div {
                background: #fff;
                padding: 10px;
                height: 340px;
                width: 250px;
                margin-left: 20px;
                margin-bottom: 20px;
                position: relative;
                text-align: center;
                float: left;
                h4,
                p {
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    font-weight: 400;
                    line-height: 30px;
                }
                .pire {
                    color: red;
                }
                .s1 {
                    position: absolute;
                    width: 110px;
                    line-height: 30px;
                    border: 1px solid red;
                    color: red;
                    top: 320px;
                    left: 20px;
                    display: none;
                    cursor:pointer ;
                }
                .s2 {
                    position: absolute;
                    width: 110px;
                    line-height: 30px;
                    left: 140px;
                    top: 320px;
                    color: white;
                    display: none;
                    background-color: red;
                    cursor:pointer ;
                }
                &:nth-of-type(4n - 3) {
                    margin-left: 0;
                }
                &:hover {
                    .s1,.s2{
                        display:block;
                    }
                    .pire{
                        display: none;
                    }
                    box-shadow: 10px 10px 10px rgb(199, 198, 198), -10px 10px 10px rgb(201, 201, 201);
                    transition: box-shadow 0.4s ease-in-out;
                }
                img {
                    width: 100%;
                }
            }
        }
    }
}

.pagination {
    font-size: 80%;
    position: relative;
    left: 100%;
    margin-left: -200px;
    width: 300px;
}

.pagination a {
    text-decoration: none;
    border: solid 1px antiquewhite;
    padding: 2px;
}

.pagination a,
.pagination span {
    display: block;
    float: left;
    padding: 0.3em 0.5em;
    margin-right: 5px;
    margin-bottom: 5px;
}

.pagination .current {
    border: solid 1px #aae;
}

.pagination .current.prev,
.pagination .current.next {
    color: #999;
    border-color: #999;
    background: #fff;
}
